<html>
<head>
  <meta charset="UTF-8">
  <link rel="stylesheet" type="text/css" href="css/style.css">
  <script src="js/tfjs.min.js"></script>
</head>

<body onresize="windowResized()">
  <div id="container">
    <img src="image1/demo.jpg" id="image" class="center">
    <div id="text-container">
      <p id="instruction" class="green-color">
      <button id="uploader-btn" onClick="clickUploader()">打开本地图片</button>
      <p class="green-color "> 或者将图片拖到这里 📂,  然后下方会显示结果</p>
    
      <p id="warning" class="result-color"></p>
      <p class="result-color">
        检测结果如下：
      </p>
      <input name="imgFile" type="file" id="fileUploader" accept="image/*" onChange="handleFiles()">
    </div>
    <canvas id="canvas" class="center"></canvas>
  </div>
  <script src="js/detection.js"></script>
  <script src="js/index.js"></script>
</body>
</html>